package org.idea.qiyu.framework.datasource.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

/**
 * 多包管理数据源 配置
 *
 * @Author linhao
 * @Date created in 4:51 下午 2021/5/25
 */
@ConfigurationProperties(prefix = "multi.package")
public class MultiPackageDatasourceProperties {

    private boolean isOpen;

    private Map<String, String> datasources;

    public boolean isOpen() {
        return isOpen;
    }

    public void setOpen(boolean open) {
        isOpen = open;
    }

    public Map<String, String> getDatasources() {
        return datasources;
    }

    public void setDatasources(Map<String, String> datasources) {
        this.datasources = datasources;
    }
}
